package workoutModel;

import java.util.Date;


public class weightliftingSet extends workoutSet{

	private String weightType;
	private String location;
	private double weight;
	private int reps;
	private int order;
	
	
	/*******************************************************************
	 * @param date
	 * @param exercise
	 * @param notes
	 * @param location
	 * @param order
	 * @param reps
	 * @param weight
	 * @param weightType
	 *******************************************************************/
	public weightliftingSet(Date date, String exercise, String notes,
			String location, int order, int reps, double weight,
			String weightType) {
		super(date, exercise, notes);
		this.location = location;
		this.order = order;
		this.reps = reps;
		this.weight = weight;
		this.weightType = weightType;
	}
	

	/***************************************************************
	 * Returns a string representation of the set.
	 ***************************************************************/
	public String toString(){
		String setString = exercise + "-" + weightType + "-" + order + "-" + weight + "-" + reps + "-" + date.toString() + "-" + location + "-" + notes;
		return setString;
	}
	
	/**
	 * @return the weightType
	 */
	public String getWeightType() {
		return weightType;
	}
	/**
	 * @param weightType the weightType to set
	 */
	public void setWeightType(String weightType) {
		this.weightType = weightType;
	}
	/**
	 * @return the weight
	 */
	public double getWeight() {
		return weight;
	}
	/**
	 * @param weight the weight to set
	 */
	public void setWeight(double weight) {
		this.weight = weight;
	}
	/**
	 * @return the reps
	 */
	public int getReps() {
		return reps;
	}
	/**
	 * @param reps the reps to set
	 */
	public void setReps(int reps) {
		this.reps = reps;
	}
	/**
	 * @return the order
	 */
	public int getOrder() {
		return order;
	}
	/**
	 * @param order the order to set
	 */
	public void setOrder(int order) {
		this.order = order;
	}
	/**
	 * @return the location
	 */
	public String getLocation() {
		return location;
	}
	/**
	 * @param location the location to set
	 */
	public void setLocation(String location) {
		this.location = location;
	}
	
	public void setExercise(String exercise){
		this.exercise = exercise;
	}
	
	public void setDate(Date date){
		this.date = date;
	}

	public void setNotes(String notes){
		this.notes = notes;
	}
	
	
	
}
